<?php
/* @var $this SubmenuController */
/* @var $model Submenu */

$this->breadcrumbs=array(
    $model->menuitem->title=>array('menuitem/view','id'=>$model->menuitem_id),
	$model->title,
);

$this->menu=array(
	array('label'=>'返回父菜单', 'url'=>array('menuitem/view','id'=>$model->menuitem_id)),
	array('label'=>'更新当前子菜单', 'url'=>array('update', 'id'=>$model->submenu_id)),
	array('label'=>'删除当前子菜单', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->submenu_id),'confirm'=>'Are you sure you want to delete this item?')),
);
?>

<h1>查看子菜单 #<?php echo $model->title; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'submenu_id',
		'menuitem.title',
		'title',
	),
)); ?>
<h4><?php echo $model->title?>内容:</h4>
    <?php echo $model->content?>
